import request from '@/utils/request'

export default {
      //登录的方法
  login(memberInfo) {
    return request({
      url: `/educenter/member/login`,
      method: 'post',
      data: memberInfo
    })
  },
  //获取用户信息方法
  getMemberInfoById() {
    return request({
      url: `/educenter/member/memberInfo`,
      method: 'get'
    })
  }
}